package com.wft.singleton;

public class HungerSingleton {
    private static HungerSingleton instance = new HungerSingleton();
    private HungerSingleton(){}
    public static HungerSingleton getInstance(){
        return instance;
    }

    public static void main(String[] args) {
        System.out.println(HungerSingleton.getInstance());
        System.out.println(HungerSingleton.getInstance());
    }
}
